package com.gray.wow.common;

public enum Status {

	NOTPASS("未审核","01"),PASS("已审核", "02"),ALL("全部","");
	private String name;
	private String value;

	private Status(String name, String value) {
		this.name = name;
		this.value = value;
	}
	
	public String getValue() {
		return value;
	}

	public static String getName(String value) {  
        for (Status s : Status.values()) {  
            if (s.getValue() .equals(value)) {  
                return s.name;  
            }  
        }  
        return null;  
    }  
}
